package com.samuel.spring_boot_starter_hello;


import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @date:2017/11/29
 * @time: 17:07
 * @author:zhaoyang
 * @desc:配置文件类
 **/
@ConfigurationProperties(prefix = "hello")
public class HelloServiceProperties {

    private static final String MSG = "world";

    private String msg = MSG;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
